home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 096 / ratiochk.arc / README.DOC < prev   
Encoding:
Text File  |  1987-09-04  |  3.4 KB  |  82 lines

  1.           RATIOCHK.EXE  is  a  handy  little  utility  useful to RBBS-PC
  2.         Sysops who wish to enforce upload/download ratios.
  3.  
  4.           RatioCheck will read in the  USERS file, and demote the  users
  5.         who have not retained their ratios to a security level specified
  6.         by the Sysop when the program is first run.
  7.  
  8.           RatioCheck  can  also  be  used  with my utility "Schedule" or
  9.         "RBBSCtrl" that allows the SYSOP to do something every few  days
  10.         on a cycle, such as  every weekend.  In order to  use RatioCheck
  11.         with the program "Schedule", RatioCheck must be invoked from the
  12.         command line like so:
  13.  
  14.                 C>ratiochk -
  15.  
  16.         The  "-"  tells  RatioCheck  not  to  wait  for  any  input when
  17.         finished.  The calling  batch file can  check for any  errors by
  18.         looking for the existence of the file "ERRORS.RAT", like so.
  19.  
  20.                 C>copy con:runratio.bat
  21.                 echo off
  22.                 copy users users.baq            (optional)
  23.                 ratiochk -
  24.                 if not exist errors.dat goto exit
  25.                 echo ^G^GError!^G
  26.                 copy users.baq users
  27.                 del users.baq
  28.                 :exit
  29.                 echo Done!
  30.                 ^Z^Z
  31.                         1 file(s) copied
  32.  
  33.           This could then  be called from  RBBS.BAT (or the  equivilant)
  34.         like this:
  35.  
  36.  
  37.                 C>copy con:rbbs.bat
  38.                 watchdg1 on
  39.                 .
  40.                 .               (whatever is before the RBBS-PC startup)
  41.                 .
  42.                 rbbs-pc
  43.                 rbbsctrl xxxx   (the schedule file for this...)
  44.                 if not exist ITS_TIME.NOW goto end
  45.                 runratio
  46.                 :end
  47.                 rbbs.bat
  48.                 ^Z^Z
  49.                         1 file(s) copied
  50.  
  51.           As you can see,  this setup is not  hard, and there really  is
  52.         nothing to the program.
  53.  
  54.           You will receive a report, and in the report is a list of  the
  55.         users  changed,  and  certain  stats  including  who was cleared
  56.         because their security level was high enough.
  57.  
  58.           When configuring RatioCheck for the first time, if you specify
  59.         "-32767" for the  security level to  drop the users  to, it will
  60.         NOT touch the user's security.  This could be useful if you just
  61.         wanted to inform the user that he is over the limit.
  62.  
  63.  
  64.           If you  have any  questions, comments,  or complaints,  please
  65.         contact me via one of the two boards listed below:
  66.  
  67.         RBBS-PC of Chicago                      The Satellite RBBS
  68.         160 Meg. on-line, 4 nodes!              20 Doors,  24 Hrs.
  69.         Data: (312) 352-1035                    Data: (701) 293-3934
  70.         Sysop: Loren D. Jones                   Sysop: Andrew J. Hoag
  71.         300/1200/2400/* 9600 Soon *             300/1200/2400 BPS
  72.  
  73.           RatioCheck is a User Supported software program.  This  means,
  74.         instead of charging a direct fee for using the program, YOU, the
  75.         user, decides how much to send,  and if you want to send  it in.
  76.         This way, you can decide if you like the program before you  pay
  77.         for it.  The suggested contribution for this program is $5.
  78.  
  79.                                         Thank you!
  80.                                         Andrew J. Hoag
  81.  
  82.